draw Nine Slice
Extension function to replicate the nine-slice functionality drawGuiTexture from 1.20.2+.
in 1.20.2+ this is a compat method; maintained as-is to avoid needing to alter mod code elsewhere.
Author
fzzyhmstrs
Since
0.2.0
Parameters
Identifier - The sprite identifier (1.20.2+ style) for the image.
Int - the x location of the texture
Int - the y location of the texture
Int - the width of the drawn texture
Int - the height of the drawn texture
Extension function to replicate the nine-slice functionality drawGuiTexture from 1.20.2+.
in 1.20.2+ this is a compat method; maintained as-is to avoid needing to alter mod code elsewhere.
Author
fzzyhmstrs
Since
0.6.1
Parameters
Identifier - The sprite identifier (1.20.2+ style) for the image.
Int - the x location of the texture
Int - the y location of the texture
Int - the width of the drawn texture
Int - the height of the drawn texture
Int - the ARGB packed color int
Extension function to replicate the nine-slice functionality drawGuiTexture from 1.20.2+.
in 1.20.2+ this is a compat method; maintained as-is to avoid needing to alter mod code elsewhere.
Author
fzzyhmstrs
Since
0.6.1
Parameters
Identifier - The sprite identifier (1.20.2+ style) for the image.
Int - the x location of the texture
Int - the y location of the texture
Int - the width of the drawn texture
Int - the height of the drawn texture
Float - the texture transparency